package com.bdqn.homework2;

/**
 * @author ckf
 * @create 2018 09 27 9:40
 * @desc
 **/
public class Person {

    public void use(IDailup dailup){
        dailup.dailup();
    }
    public void use(IPlay play){

        play.play();
    }
    public void use(ITakePhoto takePhoto){
        takePhoto.takePhoto();
    }
    public void use(Mobile mobile){
        mobile.dailup();
        mobile.play();
        mobile.takePhoto();
    }
}
